package cn.com.git.workflow.service;

import cn.com.git.common.model.ResultMsg;
import cn.com.git.common.model.ResultPage;
import cn.com.git.workflow.service.dto.WorkFlowGroupDetailDTO;
import cn.com.git.workflow.service.dto.WorkFlowGroupListDTO;
import cn.com.git.workflow.service.dto.WorkFlowGroupSaveDTO;
import cn.com.git.workflow.service.query.WorkFlowGroupListQuery;

/**
* WorkFlowGroup API接口
* @author zhangzhenfu
* @Description
* @date 2020/5/28
*/
public interface WorkFlowGroupService {
    /*=================================*/
    /*============ WorkFlowGroup =============*/
    /*=================================*/
    ResultPage<WorkFlowGroupListDTO> listWorkFlowGroup(WorkFlowGroupListQuery query);
    ResultMsg<WorkFlowGroupDetailDTO> findWorkFlowGroup(Integer id);
    ResultMsg<WorkFlowGroupSaveDTO> addWorkFlowGroup(WorkFlowGroupSaveDTO saveDTO);
    ResultMsg<WorkFlowGroupSaveDTO> editWorkFlowGroup(WorkFlowGroupSaveDTO saveDTO);
    ResultMsg deleteWorkFlowGroup(Integer id);
}
